home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 23.zip
/
BS1 part 23
/
Prof page II type.adf
/
Install
/
SetUpForInstall
< prev
next >
Wrap
AmigaDOS Script File
|
1990-08-10
|
2KB
|
100 lines
.KEY type
.BRA {
.KET }
;
; Create our installation directory in RAM:, copy stuff into it, and
; make some assignments.
echo "*N~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*N"
echo " Prepare to install fonts*N"
; Start with a fresh copy of GD_TempDir:, to avoid any screwups
if exists RAM:GD_Install
delete RAM:GD_Install/#? all quiet
else
makedir RAM:GD_Install
endif
assign GD_TempDir: RAM:GD_Install
; Make sure ENV: exists
assign >NIL: exists ENV: ; First make sure ENV: itself exists
if warn
failat 21 ; Protect in case it already exists
makedir >NIL: RAM:ENV
failat 10
assign ENV: RAM:ENV ; This should run unprotected
endif
failat 21
delete >nil: ENV:GDI#? all quiet ; Don't get fouled up by lingering variables
failat 10
; Grab a bunch of stuff from C:
if exists C:copy
copy C:copy GD_TempDir:
endif
if exists C:if
copy C:if GD_TempDir:
endif
if exists C:else
copy C:else GD_TempDir:
endif
if exists C:endif
copy C:endif GD_TempDir:
endif
if exists C:skip
copy C:skip GD_TempDir:
endif
if exists C:lab
copy C:lab GD_TempDir:
endif
if exists C:execute
copy C:execute GD_TempDir:
endif
if exists C:delete
copy C:delete GD_TempDir:
endif
if exists C:echo
copy C:echo GD_TempDir:
endif
if exists C:failat
copy C:failat GD_TempDir:
endif
if exists C:assign
copy C:assign GD_TempDir:
endif
if exists C:makedir
copy C:makedir GD_TempDir:
endif
if exists C:cd
copy C:cd GD_TempDir:
endif
if exists SYS:system/format
copy SYS:system/format GD_TempDir:
endif
assign GD_InstOrig: "" ; Save initial directory
cd GD_TempDir: ; Put GD_TempDir: implicitly in path
assign GD_SourceDisk: Type:
; And some of our own files
copy GD_SourceDisk:Install/UpdateFile GD_TempDir:
copy GD_SourceDisk:Install/InstUtil GD_TempDir:
echo >ENV:GDIInstallType "{type}"
; Collect version numbers of utility programs
; instutil -eGDICGTVer version GD_SourceDisk:CGT CGT
; instutil -eGDICGTIIVer version GD_SourceDisk:CGTII CGTII
; instutil -eGDICFVer version GD_SourceDisk:CreateFont CreateFont
execute GD_SourceDisk:Install/Versions